﻿<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>红点e贷服务管理系统</title>
<jsp:include page="../../../global/assets_common.jsp" />
<style type="text/css">
.input-group .form-control {
	z-index: 0;
}

body {
	font-size: 10px;
	margin: 0px;
	padding: 0px;
}

.ui-widget-header {
	border: none;
}

.input-group {
	margin: 1px 0px;
	width: 300px;
}

.required {
	color: red;
}
/*设置弹出窗口元素大小 开始*/
#dialog_insert .input-group-addon {
	width: 104px;
}

#dialog_insert textarea {
	resize: none;
	height: 45px;
}
#dialog_view textarea {
	resize: none;
	height: 45px;
}

.ui-dialog .ui-dialog-content {
	overflow: hidden; 
}
/*设置弹出窗口元素大小 结束*/
#dialog_addF .ui-dialog .ui-dialog-title {
	color: red;
}

.valid {
	border-bottom-color: red;
}
/*设置弹出窗口元素大小 开始*/
#dialog_search .input-group-addon {
	width: 104px;
}

#dialog_view .input-group-addon {
	width: 104px;
}
/*设置弹出窗口元素大小 结束*/
</style>
</head>
<body>
	<div id="toolbar" class="ui-widget-header ui-corner-all">
		<button id="btu_search">搜索</button>
		<button id="btu_insert">申请发标</button>
		<button id="btu_view">查看</button>
		<button id="btu_delete">删除</button>
	</div>
	<div>
		<table id="jqGrid"></table>
		<div id="jqGridPager"></div>
	</div>
	<!--提示框 开始-->
	<div id="dialog_alert" title="提示" class="ui-helper-hidden"></div>
	<!--提示框结束-->
	<!--搜索模态框 开始-->
	<div id="dialog_search" title="查询搜索" class="ui-helper-hidden">
		<form class="form-inline" id="form_search">
			<input type="reset" hidden="true" id="s_reset">
			<div class="input-group input-group-sm">
				<span class="input-group-addon">申请开始日期:</span>
				<input type="text" id="s_minsqksrq" class="form-control" readonly="readonly" name="startDate">
			</div>
			<div class="input-group input-group-sm">
				<span class="input-group-addon">申请结束日期:</span>
				<input type="text" id="s_maxsqksrq" class="form-control" readonly="readonly" name="endDate">
			</div>
			<div class="input-group input-group-sm">
				<span class="input-group-addon">项目名称:</span>
				<input type="text" id="s_xmmc" class="form-control" name="xmmct">
			</div>
			<div class="input-group input-group-sm">
				<span class="input-group-addon">借款人用户名:</span>
				<input type="text" id="s_jkryhm" class="form-control" name="jkrt">
			</div>
			<div class="input-group input-group-sm">
				<span class="input-group-addon">代发人用户名:</span>
				<input type="text" id="s_dfyhm" class="form-control" name="dfridt">
			</div>
			<div class="input-group input-group-sm">
				<span class="input-group-addon">项目类型:</span>
				<select id="s_zzbdlx" class="form-control" name="xmType">
					<option value=''>全部</option>
					<option value='01'>债权转让</option>
					<option value='02'>散标投资</option>
				</select>
			</div>
			<div class="input-group input-group-sm">
				<span class="input-group-addon">审核状态:</span>
				<select id="s_shzt" class="form-control" name="state">
					<option value=''>全部</option>
					<option value='01'>待审核</option>
					<option value='02'>审核成功</option>
					<option value='03'>审核失败</option>
				</select>
			</div>
		</form>
	</div>
	<!--搜索模态框 结束-->
	<!--查看模态框  开始 -->
	<div id="dialog_view" title="查看信息" class="ui-helper-hidden">
		<div id="v_tabs">
			<ul>
				<li><a href="#v_tabs1">项目信息</a></li>
				<li><a href="#v_tabs2">借款人信息</a></li>
				<li><a href="#v_tabs3">附件</a></li>
			</ul>
			<form class="form-inline" id="form_update">
				<div id="v_tabs1">
					<div class="input-group input-group-sm" style="width: 605px;">
						<span class="input-group-addon">项目名称:<span class="required">*</span></span>
						<input type="text" id="v_xmmc" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">标准收益率(%):<span class="required">*</span></span>
						<input type="text" id="v_sjsyl" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">显示收益率(%):</span>
						<input type="text" id="v_sjsylShow" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">金额:<span class="required">*</span></span>
						<input type="text" id="v_je" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">期限(月):<span class="required">*</span></span>
						<input type="text" id="v_qx_month" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">期限(天):<span class="required">*</span></span>
						<input type="text" id="v_qx" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">发标日期:<span class="required">*</span></span>
						<input type="text" id="v_fbsj" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">募集期(天):<span class="required">*</span></span>
						<input type="text" id="v_mjq" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">截止日期:<span class="required">*</span></span>
						<input type="text" id="v_jzrq" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">计息日期:<span class="required">*</span></span>
						<input type="text" id="v_jxrq" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">回款日期:<span class="required">*</span></span>
						<input type="text" id="v_hkrq" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">项目类型:<span class="required">*</span></span>
						<input type="text" id="v_xm_type" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">还款类型:<span class="required">*</span></span>
						<input type="text" id="v_hk_type" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">发标用户:<span class="required">*</span></span>
						<input type="text" id="v_dfrid" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">发标申请时间:<span class="required">*</span></span>
						<input type="text" id="v_sqsj" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">资产类型:<span class="required">*</span></span>
						<input type="text" id="v_xmZcType" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">评估价值(万):<span class="required">*</span></span>
						<input type="text" id="v_xmPgjz" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">授信额度(万):<span class="required">*</span></span>
						<input type="text" id="v_xmSyed" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">借款项目简介:<span class="required">*</span></span>
						<textarea id="v_jkxmjj" class="form-control" readonly="readonly"></textarea>
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">借款用途:<span class="required">*</span></span>
						<textarea id="v_jkyt" class="form-control" readonly="readonly"></textarea>
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">担保说明:<span class="required">*</span></span>
						<textarea id="v_dbsm" class="form-control" readonly="readonly"></textarea>
					</div>
				</div>
				<div id="v_tabs2">
					<div class="input-group input-group-sm">
						<span class="input-group-addon">借款人:<span class="required">*</span></span>
						<input type="text" id="v_jkr" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">出生年份:</span>
						<input type="text" id="v_csnf" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">最高学历:</span>
						<input type="text" id="v_zgxl" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">婚姻状况:</span>
						<input type="text" id="v_hyzk" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">子女情况:</span>
						<input type="text" id="v_znqk" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">户籍地址:</span>
						<input type="text" id="v_hjdz" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">月收入水平:</span>
						<input type="text" id="v_srsp" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">房产情况:</span>
						<input type="text" id="v_fcqk" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">信用卡张数:</span>
						<input type="text" id="v_xykzs" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">信用卡额度:</span>
						<input type="text" id="v_xyked" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">所属行业:</span>
						<input type="text" id="v_sshy" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">单位性质:</span>
						<input type="text" id="v_dwxz" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">单位地址:</span>
						<input type="text" id="v_dwdz" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">职位:</span>
						<input type="text" id="v_dwzw" class="form-control" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">入职时间:</span>
						<input type="text" id="v_rzsj" class="form-control" readonly="readonly">
					</div>
				</div>
			</form>
			<div id="v_tabs3">
				<div id="toolbarF" class="ui-widget-header ui-corner-all">
					<span style="margin: 0px 15px;"></span> <a id="btu_addV" title="添加附件"></a> <a id="btu_deleteV" title="删除附件"></a>
				</div>
				<div>
					<table id="jqGridV"></table>
				</div>
			</div>
		</div>
	</div>

	<!--查看模态框 结束-->



	<!--发标申请模态框 开始-->
	<div id="dialog_insert" title="发标申请单" class="ui-helper-hidden">
		<div id="tabs_form">
			<ul>
				<li><a href="#tabs_1">项目信息</a></li>
				<li><a href="#tabs_2">借款人信息</a></li>
				<li><a href="#tabs_3">附件</a></li>
			</ul>
			<form class="form-inline" id="form_insert">
				<input type="reset" hidden="true" id="i_reset">
				<div id="tabs_1">
					<div class="input-group input-group-sm">
						<span class="input-group-addon">项目名称:<span class="required">*</span></span>
						<input type="text" id="i_xmmc" name="xmmc" class="form-control validate[required,maxSize[45]]" value="资金垫还">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">标准收益率(%):<span class="required">*</span></span>
						<input type="text" id="i_sjsyl" name="sjsyl" class="form-control validate[required,min[0],max[100],custom[integer]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">显示收益率(%):</span>
						<input type="text" id="i_sjsylShow" name="sjsylShow" class="form-control validate[min[0],max[100],custom[integer]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">金额:<span class="required">*</span></span>
						<input type="text" id="i_je" name="je" class="form-control validate[required,min[100],maxSize[45],custom[integer]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">期限(月):<span class="required">*</span></span>
						<select class="form-control validate[required]" id="i_qxMonth" name="qxMonth">
							<option value="">请选择......</option>
							<option value="01">一月</option>
							<option value="02">二月</option>
							<option value="03">三月</option>
							<option value="04">四月</option>
							<option value="05">五月</option>
							<option value="06">六月</option>
							<option value="07">七月</option>
							<option value="08">八月</option>
							<option value="09">九月</option>
							<option value="10">十月</option>
							<option value="11">十一月</option>
							<option value="12">十二月</option>
							<option value="18">一年半</option>
							<option value="24">两年</option>
						</select>
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">期限(天):<span class="required">*</span></span>
						<input type="text" id="i_qx" name="qx" class="form-control validate[required]" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">发标日期:<span class="required">*</span></span>
						<input type="text" id="i_fbsj" name="fbsj" class="form-control validate[required]" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">募集期(天):<span class="required">*</span></span>
						<input type="text" id="i_mjq" name="mjq" class="form-control validate[required,min[1],max[99999],custom[integer]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">截止日期:<span class="required">*</span></span>
						<input type="text" id="i_jzrq" name="jzrq" class="form-control validate[required]" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">计息日期:<span class="required">*</span></span>
						<input type="text" id="i_jxrq" name="jxrq" class="form-control validate[required]" readonly="readonly">
						<span class="input-group-btn">
							<button class="btn btn-default" type="button" id="i_js">计算</button>
						</span>
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">回款日期:<span class="required">*</span></span>
						<input type="text" id="i_hkrq" name="hkrq" class="form-control validate[required]" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">项目类型:<span class="required">*</span></span>
						<select class="form-control validate[required]" id="i_xmType" name="xmType">
							<option value="02">散标投资</option>
							<option value="01">债权转让</option>
						</select>
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">还款类型:<span class="required">*</span></span>
						<select class="form-control validate[required]" id="i_hkType" name="hkType">
							<option value="02">月付收益，到期还本</option>
							<option value="01">到期还本付息</option>
						</select>
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">发标用户:<span class="required">*</span></span>
						<input type="text" id="i_dfrid" name="dfrid" class="form-control validate[required]" readonly="readonly">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">资产类型:<span class="required">*</span></span>
						<input type="text" id="i_xmZcType" name="xmZcType" class="form-control validate[required]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">评估价值(万):<span class="required">*</span></span>
						<input type="text" id="i_xmPgjz" name="xmPgjz" class="form-control validate[required,min[0],max[999999999999.99],custom[number]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">授信额度(万):<span class="required">*</span></span>
						<input type="text" id="i_xmSyed" name="xmSyed" class="form-control validate[required,min[0],max[999999999999.99],custom[number]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">借款项目简介:<span class="required">*</span></span>
						<textarea id="i_jkxmjj" name="jkxmjj" class="form-control validate[required,macSize[400]"></textarea>
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">借款用途:<span class="required">*</span></span>
						<textarea id="i_jkyt" name="jkyt" class="form-control validate[required,macSize[500]]"></textarea>
					</div>
					<div class="input-group input-group-sm ">
						<span class="input-group-addon">担保说明:<span class="required">*</span></span>
						<textarea id="i_dbsm" name="dbsm" class="form-control validate[required,macSize[1000]]"></textarea>
					</div>
				</div>
				<div id="tabs_2">
					<div class="input-group input-group-sm">
						<span class="input-group-addon">借款人:<span class="required">*</span></span>
						<input type="text" id="i_jkr" name="jkr" class="form-control validate[required,macSize[45]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">出生年份:</span>
						<select class="form-control" id="i_csnf" name="jkrCsnf">
							<option value="">请选择...</option>
						</select>
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">最高学历:</span>
						<select class="form-control" id="i_zgxl" name="jkrZgxl">
							<option value="">请选择...</option>
							<option value="01">博士</option>
							<option value="02">硕士</option>
							<option value="03">本科</option>
							<option value="04">大专</option>
							<option value="05">中专</option>
							<option value="06">高中</option>
							<option value="07">初中</option>
							<option value="08">小学</option>
						</select>
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">婚姻状况:</span>
						<select class="form-control" id="i_hyzk" name="jkrHyzk">
							<option value="">请选择...</option>
							<option value="01">已婚</option>
							<option value="02">未婚</option>
							<option value="03">离异</option>
						</select>
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">子女情况:</span>
						<input type="text" id="i_znqk" name="jkrZnqk" class="form-control validate[maxSize[500]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">户籍地址:</span>
						<input type="text" id="i_hjdz" name="jkrHjdz" class="form-control validate[maxSize[100]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">月收入水平:</span>
						<input type="text" id="i_srsp" name="jkrZcSrsp" class="form-control validate[min[0],maxSize[8],custom[number]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">房产情况:</span>
						<input type="text" id="i_fcqk" name="jkrZcFcqk" class="form-control validate[maxSize[500]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">信用卡张数:</span>
						<input type="text" id="i_xykzs" name="jkrZcXykzs" class="form-control validate[min[0],maxSize[45],custom[integer]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">信用卡额度:</span>
						<input type="text" id="i_xyked" name="jkrZcXyked" class="form-control validate[min[0],maxSize[45],custom[number]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">所属行业:</span>
						<input type="text" id="i_sshy" name="jkrDwHy" class="form-control validate[maxSize[45]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">单位性质:</span>
						<input type="text" id="i_dwxz" name="jkrDwXz" class="form-control validate[maxSize[45]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">单位地址:</span>
						<input type="text" id="i_dwdz" name="jkrDwDz" class="form-control validate[maxSize[100]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">职位:</span>
						<input type="text" id="i_dwzw" name="jkrDwZw" class="form-control validate[maxSize[100]]">
					</div>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">入职时间:</span>
						<input type="text" id="i_rzsj" name="jkrDwRzsj" class="form-control" readonly="readonly">
					</div>
				</div>
			</form>
			<div id="tabs_3">
				<div id="toolbarF" class="ui-widget-header ui-corner-all">
					<span style="margin: 0px 15px;"></span> <a id="btu_addF" title="添加附件"></a> <a id="btu_deleteF" title="删除附件"></a>
				</div>
				<div>
					<table id="jqGridF"></table>
				</div>
				<!--新增模态框  开始 -->
				<div id="dialog_addF" title="文件上传(文件大小限制在30M以内,否则无法上传)" class="ui-helper-hidden">
					<div class="ui-helper-hidden" id="form_file"></div>
					<table id="jqGrid_add"></table>
				</div>
				<!--新增角色模态框 结束-->
			</div>
		</div>

	</div>
	<!--新增模态框 结束-->
</body>
<script src="${basePath}/global/js/assets/p2p.zqsh.zqshcg.js"></script>
</html>